WPF and Silverlight Edition Basic Library > TabControl > TabControl Features > Optional Tab Menu |
The C1TabControl control allows you to add a drop-down menu that allows users to select a tab and tab page from a menu. When enabled, this drop-down menu is accessible from the control's tabstrip. The drop-down menu appears as follows:
To activate the drop-down menu, simply set the C1TabControl.TabStripMenuVisibility property to Visible:
To add a menu to the tabstrip, add TabStripMenuVisibility="Visible" to the <c1:C1TabControl> tag so that the markup resembles the following:
XAML |
Copy Code
|
---|---|
<c1:C1TabControl TabStripMenuVisibility="Visible"></c1:C1TabControl>
|
Complete the following steps:
Visual Basic Copy Code C1TabControl1.TabStripMenuVisibility = Visible
C# Copy Code c1TabControl1.TabStripMenuVisibility = Visible;
Complete the following steps: